package lq.cloud.studyserversystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import lq.common.entity.system.UserRole;

/**
 * @program: cloud-study
 * @description:
 * @author: LQ
 * @create: 2021-02-03 16:47
 */
public interface IUserRoleService extends IService<UserRole> {

    /**
     * 根据权限id删除权限
     * @param roleIds
     */
    void deleteUserRolesByRoleId(String[] roleIds);

    /**
     * 根据用户id删除用户权限
     * @param userIds
     */
    void deleteUserRolesByUserId(String[] userIds);
}

